{include file="public/header" /}
<body>

<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 添加管理员</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:url('admin/User/insert')}">    
      <div class="form-group">
        <div class="label">
          <label>用户名</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="" name="username" data-validate="required:用户名长度不能小于3位" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>密码</label>
        </div>
        <div class="field">
          <input type="password" class="input w50" name="password" value=""  data-validate="required:密码最少为6位"/>
          <div class="tips"></div>
        </div>
	  </div>
	<div class="form-group">
        <div class="label">
          <label>确认密码</label>
        </div>
		<div class="field">
          <input type="password" class="input w50" name="repassword" value=""  data-validate="required:请确保两次密码一致"/>
          <div class="tips"></div>
        </div>
    </div>
      <div class="form-group">
        <div class="label">
          <label>邮箱</label>
        </div>
        <div class="field">
          <input type="text" class="input  w50" name="email"  value="" data-validate="required:请输入正确的邮箱格式"/>
          <div class="tips"></div>
        </div>
      </div>
  
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body></html>